//
//  config.h
//  jiaKaoZhuShou
//
//  Created by 金艺社 on 2018/5/2.
//  Copyright © 2018年 金艺社. All rights reserved.
//

#ifndef config_h
#define config_h
#define kScreen [UIScreen mainScreen].bounds
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [[UIScreen mainScreen] bounds].size.height
// iPhone X
#define  iPhoneX (kScreenWidth == 375.f && kScreenHeight == 812.f ? YES : NO)
// Status bar height.
#define  StatusBarHeight      (iPhoneX ? 44.f : 20.f)
// Navigation bar height.
#define  NavigationBarHeight  44.f
// Tabbar height.
#define  TabbarHeight         (iPhoneX ? (49.f+34.f) : 49.f)
// Tabbar safe bottom margin.
#define  TabbarSafeBottomMargin         (iPhoneX ? 34.f : 0.f)
// Status bar & navigation bar height.
#define  StatusBarAndNavigationBarHeight  (iPhoneX ? 88.f : 64.f)

#define viewTag1 3330
#define R0001 @"R0001"
#define USERTOKEN [[NSUserDefaults standardUserDefaults] objectForKey:@"token"]
#define USERNAME [[NSUserDefaults standardUserDefaults] objectForKey:@"userName"]
#define AppScheme  @"jiaKaoZhuShou"
#endif /* config_h */
